﻿@model IEnumerable<VOD.Models.Video>
<!DOCTYPE html>
<html>
<head>
    <title>首页幻灯片</title>
    <link href="@Url.Content("~/Content/HomeSlide.css")" rel="Stylesheet" />
    <script type="text/javascript" src="@Url.Content("~/Scripts/jquery.min.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Scripts/jquery.slides.min.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Scripts/my-HomeSlide.js")"></script>
</head>
<body>
    <div id="pics">
        <div id="slides">
            <div class="slides_container">
                @foreach(var video in Model){
                    <div class="slide">
                        <a href="@Url.Content("~/Video/Play/"+video.VideoID)" title="@video.Name" target="_blank">
                            <img src="@Url.Content("~/Content/images/BigPic/"+video.VideoID+".jpg")" width="500" height="225"></a>
                        <div class="caption" style="bottom: 0;">
                            <p>@video.LongTitle</p>
                        </div>
                    </div>
                }
            </div>
        </div>
    </div>
</body>
</html>
